home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
go-fishing.swf
/
scripts
/
DefineSprite_219
/
frame_25
/
DoAction.as
Wrap
Text File
|
2011-01-13
|
848b
|
38 lines
if(eval("/:flee") == "0")
{
setProperty(my_name, _Y, y);
speed += "5";
set("/:movie_enable","1");
set("/:hit","1");
set("/:a7","0");
set("/:resume","1");
if(l == "1")
{
gotoAndPlay(5);
}
else if(l == "0")
{
gotoAndPlay(15);
}
}
if(eval("/:flee") == "1")
{
if("24" < getProperty("/ship", _currentframe))
{
setProperty(my_name, _X, former_x);
setProperty(my_name, _Y, former_y);
set("/:movie_enable","1");
set("/:hit","1");
set("/:a7","0");
set("/:resume","1");
set("/:hipp_con",eval("/:hipp_con") + "1");
set("/:sorce",eval("/:sorce") + "300");
gotoAndStop(1);
}
else
{
setProperty(my_name, _X, eval("/:fishhook_x"));
setProperty(my_name, _Y, fishhook_y + fish_width - "10");
}
}